<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <svg width="400" height="400" viewBox="0 0 100 100">
      
      <defs>
        <filter id="f11">
          <feMorphology  operator="erode" radius=".2"/>
        </filter>
        
        <filter id="f12">
          <feMorphology  operator="erode" radius=".5"/>
        </filter>
      </defs>

      <text x="20"  y="20" >dmc</text>
      <text x="20"  y="50" filter="url(#f11)" >dmc</text>
      <text x="20"  y="80" filter="url(#f12)">dmc</text>
    </svg>

    <svg width="400" height="400" viewBox="0 0 100 100">
      
      <defs>
        <filter id="f21">
          <feMorphology  operator="dilate" radius=".2"/>
        </filter>
        
        <filter id="f22">
          <feMorphology  operator="dilate" radius=".5"/>
        </filter>
      </defs>

      <text x="20"  y="20" >dmc</text>
      <text x="20"  y="50" filter="url(#f21)" >dmc</text>
      <text x="20"  y="80" filter="url(#f22)">dmc</text>
    </svg>

    <svg width="400" height="400" viewBox="0 0 100 100">
      
      <defs>
        <filter id="f31">
          <feMorphology  operator="erode" radius="1"/>
        </filter>
        
        <filter id="f32">
          <feMorphology  operator="erode" radius="2"/>
        </filter>
      </defs>

      <circle cx="50" cy="20" r="10" fill="#f00"/>
      <circle cx="50" cy="50" r="10" fill="#f00" filter="url(#f31)"/>
      <circle cx="50" cy="80" r="10" fill="#f00" filter="url(#f32)"/>
    </svg>

    <svg width="400" height="400" viewBox="0 0 100 100">
      
      <defs>
        <filter id="f4">
          <feMorphology in="SourceGraphic" operator="dilate" radius="2" result="img1"/>
          <feFlood flood-color="#f00" flood-opacity="1" result="img2"/>
          <feComposite in="img2" in2="img1" operator="in" result="img3"/>
          <feMerge>
            <feMergeNode in="img3"/>
            <feMergeNode in="SourceGraphic"/>
          </feMerge>
        </filter>
        
      </defs>

      <image xlink:href="../imgs/7.png" x="10" y="10" height="80" width="80" filter="url(#f4)" />
    </svg>


    <script src="index.js"></script>
  </body>
</html>
